﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Group_admin.aspx.cs" Inherits="Fjaspx.UI.Web.Administrator.UCenter.Group_admin" %>
<%@ Register src="top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../top.ascx" tagname="top" tagprefix="uc2" %>
<html>
<head runat="server">
<title></title>
<link href="/administrator/images/style.css" rel="stylesheet" type="text/css">
<link href="/administrator/WebUI/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
</head>
<body>
<form id="form1" runat="server">
  <uc2:top ID="top2" runat="server" />
  <table width="100%" border="0" align="center" cellpadding="5" cellspacing="5">
    <tr>
      <td><fieldset>
          <legend>&nbsp;<img name="" src="/administrator/images/bullet_wrench.png" width="16" height="16" alt="">&nbsp;用户组管理 </legend>
          <uc1:top ID="top1" runat="server" />
          <table width="98%" height="187" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
            <tr class="TabbedPanelsTabHover">
              <td width="23" height="32" nowrap></td>
              <td width="28" nowrap><span class="line">编号</span></td>
              <td width="139" height="32">用户组名称</td>
              <td width="322">时间</td>
              <td align="left">关联操作</td>
              <td width="147" align="left" nowrap>&nbsp;
                <a href='addgroup.aspx' rel="facebox" style="color:#FFF;"><img src="../images/bullet_disk.png" alt="" name="" width="16" height="16" border="0" /><strong>添加一个用户组</strong></a></td>
            </tr>
            <asp:Repeater ID="Repeater_list" runat="server">
              <ItemTemplate>
                <tr>
                  <td height="25" nowrap bgcolor="#F4FBFF"><asp:CheckBox ID="ID_list" runat="server" /></td>
                  <td nowrap  bgcolor="#F4FBFF"><asp:Label ID="Label_id" runat="server" Text='<%#Eval("id") %>'></asp:Label></td>
                  <td height="25" bgcolor="#F4FBFF">
                    <a href="#zhaiyao<%#Eval("id") %>" title='<%# Eval("zhaiyao") %>' rel='facebox'><%# Eval("name") %> [详情]</a>
                    <div id="zhaiyao<%#Eval("id") %>" style="display:none;">
                    <h3><%# Eval("name") %></h3>
					<p><%# Eval("zhaiyao") %></p>
                    </div>
                    </td>
                  <td bgcolor="#F4FBFF"><%# Eval("time") %></td>
                  <td align="left" bgcolor="#F4FBFF"><div id='<%# Eval("id") %>' >
                      <li>
                        <a href='Add_Class_UGroup.aspx?UGroup_id=<%#Eval("id")%>&UGroup_name=<%#Server.UrlEncode(Eval("name").ToString())%>&n=<%=DateTime.Now.ToString()%>'  rel='facebox'>将信息投递权限关联到用户组</a>
                      [<a href='admin_Class_UGroup.aspx?n=<%=DateTime.Now.ToString()%>'  rel='facebox'>查看</a>]
                      </li>
                      <li>
                        <a href="Add_Workflow_UGroup.aspx?UGroup_id=<%#Eval("id")%>&UGroup_name=<%#Server.UrlEncode(Eval("name").ToString())%>&n=<%=DateTime.Now.ToString()%>"  rel='facebox'>将工作流关联到用户组</a>
                         [<a href='admin_Workflow_UGroup.aspx?n=<%=DateTime.Now.ToString()%>'  rel='facebox'>查看</a>]
                      </li>
                      <!-- <li>
                        <a href="user_admin.aspx">将系统权限关联到用户组</a>
                      </li>-->
                      <li>
                        <a href="UGroupMenu.aspx?UGroup_id=<%#Eval("id")%>&UGroup_name=<%#Server.UrlEncode(Eval("name").ToString())%>&n=<%=DateTime.Now.ToString()%>"    rel='facebox'>配置用户组菜单</a>
                      </li>
                    </div></td>
                  <td align="center" nowrap bgcolor="#F4FBFF">&nbsp;
                    <a href='group_edit.aspx?id=<%#Eval("id")%>&n=<%=DateTime.Now.ToString()%>'  rel='facebox'><img src="../images/pencil_add.gif" alt="" name="" width="16" height="16" border="0" />编辑</a>
                    &nbsp;&nbsp;
                    <a href='#del<%#Eval("id") %>' rel='facebox' ><img src="../images/cms-ico6.gif" alt="" name="" width="8" height="7" border="0" />删除</a>
                    <div id="del<%#Eval("id") %>" style="display:none;">
                    <h3> 确实要删除【<%#Eval("name")%>】吗？</h3>
                       <p><asp:CheckBox ID="CheckBox_allUser" Text="同时删除组的所有用户" runat="server" /></p> 
                       <p><a href='?del=<%#Eval("id")%>'>删除</a></p> 
                    </div>
                    &nbsp;
                  <a href="UGroupConfig.aspx?UGroup_id=<%#Eval("id")%>&UGroup_name=<%#Server.UrlEncode(Eval("name").ToString())%>&n=<%=DateTime.Now.ToString()%>" rel='facebox'><img src="../images/asterisk_orange.png" alt="" name="" width="16" height="16" border="0" />配置</a></td>
                </tr>
              </ItemTemplate>
            </asp:Repeater>
            <tr>
              <td height="25" colspan="7" bgcolor="#F4FBFF"><input name="chkAll" type="checkbox" id="chkAll" onClick="CheckAll(form)" value="checkbox" style="position:absolute;clip: rect(6 15 15 6)">
                <img src="/administrator/images/cms-ico12.gif" border="0">
                <asp:ImageButton ID="ImageButton_all_del" runat="server" ImageUrl="/administrator/images/cms-ico10.gif"  OnClientClick="return window.confirm('确定删除多条记录吗?');" style="width: 63px" />
                <center>
                  <Script Language="JavaScript" type="text/JavaScript" src="/administrator/js/page.js"></Script>
                  <script language="JavaScript">
<!--
var pg = new showPages('pg');
pg.pageCount =12;  // 定义总页数(必要)
pg.argName = 'page';  // 定义参数名(可选,默认为page)
//document.write('<br>Show Times: ' + pg.showTimes + ', Mood 1');
pg.printHtml(1);
//-->
      </script>
                  总 [
                  
                  ] 条数据
                </center></td>
            </tr>
          </table>
        </fieldset></td>
    </tr>
  </table>
</form>
</body>
</html>
